package com.homedo.odin.solution.model.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * @author ZhangLei
 * @date 2018-05-22
 * @description 设备清单报备
 */
@Data
@TableName("equipment_list")
public class EquipmentList extends Model<EquipmentList> {

    private static final long serialVersionUID = 1L;


    /**
     *
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 项目名称
     */
    @TableField(value = "name")
    private String name;
    /**
     * 拟采购单位名称
     */
    @TableField(value = "unit_name")
    private String unitName;
    /**
     * 报备用户
     */
    @TableField(value = "user_id")
    private Integer userId;
    /**
     * 项目阶段，1：规划设计，2：投标设计，3：深化设计，4：其他
     */
    @TableField(value = "project_phase")
    private Integer projectPhase;
    /**
     * 预计落地时间
     */
    @TableField(value = "expect_time")
    private String expectTime;
    /**
     * 报备清单 URL
     */
    @TableField(value = "list_url")
    private String listUrl;
    /**
     * 清单名
     */
    @TableField(value = "list_name")
    private String listName;
    /**
     * 跟踪记录
     */
    @TableField(value = "track_record")
    private String trackRecord;
    /**
     * 创建时间
     */
    @TableField(value = "created_time")
    private Date createdTime;
    /**
     * 修改时间
     */
    @TableField(value = "modified_time")
    private Date modifiedTime;
    /**
     * 修改用户
     */
    @TableField(value = "modified_by")
    private Long modifiedBy;
    /**
     * 操作人
     */
    @TableField(value = "operator")
    private String operator;

    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}
